//
//  PDeProNumModel.m
//  LoveTrail
//
//  Created by giantumbrella on 15/6/24.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import "PDeProNumModel.h"

@implementation PDeProNumModel

- (void)decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"productNum"] isKindOfClass:[NSNull class]]) {
            self.productNum = [dic objectForKey:@"productNum"];
        }
        if (![[dic objectForKey:@"shelfLif"] isKindOfClass:[NSNull class]]) {
            self.shelfLif = [dic objectForKey:@"shelfLif"];
        }
        if (![[dic objectForKey:@"specification"] isKindOfClass:[NSNull class]]) {
            self.specification = [dic objectForKey:@"specification"];
        }
        if (![[dic objectForKey:@"typeOfPackage"] isKindOfClass:[NSNull class]]) {
            self.typeOfPackage = [dic objectForKey:@"typeOfPackage"];
        }
        if (![[dic objectForKey:@"probationAge"] isKindOfClass:[NSNull class]]) {
            self.probationAge = [dic objectForKey:@"probationAge"];
        }
        if (![[dic objectForKey:@"methord"] isKindOfClass:[NSNull class]]) {
            self.methord = [dic objectForKey:@"methord"];
        }
    }
}
@end
